home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / aie8911.zip / SPECS.CNF < prev    next >
Text File  |  1989-09-21  |  10KB  |  172 lines

  1. /*--------------------------------------------------------------------------*/
  2. /*-  FILE PSKELTON.CNF: Skeleton PREPCOMP configuration file.              -*/
  3. /*--------------------------------------------------------------------------*/
  4. /*--------------------------------------------------------------------------*/
  5. /*-                                                                        -*/
  6. /*-  PREPCOMP configuration file for: <program_name>.                      -*/
  7. /*-                                                                        -*/
  8. /*-  NOTE: You can copy this file to your own name (e.g., prog.cnf),       -*/
  9. /*-        and modify it to suit your needs:                               -*/
  10. /*-        Change OUTPUT_PATH to your desired output path;                 -*/
  11. /*-        Change SOURCE_DIR to your source file directory(ies);           -*/
  12. /*-        Fill in the source files for your program in the source_file    -*/
  13. /*-             fact;                                                      -*/
  14. /*-        Delete or modify the remaining configuration facts.             -*/
  15. /*-                                                                        -*/
  16. /*-  (For a sample configuration file, see PSAMPLE.CNF)                    -*/
  17. /*-                                                                        -*/
  18. /*--------------------------------------------------------------------------*/
  19.  
  20. /*--------------------------------------------------------------------------*/
  21. /*-  SECTION A                                                             -*/
  22. /*-  REQUIRED FACTS:                                                       -*/
  23. /*--------------------------------------------------------------------------*/
  24.  
  25. /*-  OUTPUT PATH FOR .HDR AND .BAT FILES CREATED:                          -*/
  26. /*-  (This is where your source files will be copied,                      -*/
  27. /*-   with the .HDR files prepended.  None of your                         -*/
  28. /*-   source files can be here:)                                           -*/
  29.  
  30. output_path($C:\work\specs\comp$).
  31.  
  32. /*-  SOURCE FILES:                                                         -*/
  33. /*-  These are the source files for the program.                           -*/
  34. /*-  They must be in a different subdirectory from that                    -*/
  35. /*-  specified by output_path.  If they aren't, PREPCOMP.EXE               -*/
  36. /*-  will give an error message and terminate.                             -*/
  37. /*-  They don't all have to be in the same subdirectory.                   -*/
  38. /*-                                                                        -*/
  39. /*-  NOTE: You can use wildcards (e.g., *.ARI) to specify source files,    -*/
  40. /*-        but it's safer not to.                                          -*/
  41.  
  42. source_files([
  43.                $C:\work\specs\SPECS.ARI$    ,
  44.                $C:\work\specs\LIB.ARI$      ,
  45.                $C:\work\specs\arity5.ARI$      ,
  46.                $C:\work\specs\newTRACE.ARI$    ,
  47.                $C:\work\specs\BACK.ARI$     ,
  48.                $C:\work\specs\STUBS.ARI$    ,
  49.                $C:\work\specs\FRAME.ARI$    ,
  50.                $C:\work\specs\FILEMOD.ARI$  ,
  51.                $C:\work\specs\NEXT_TOK.ARI$ ,
  52.                $C:\work\specs\spechelp.ARI$
  53.               ]).
  54. /*--------------------------------------------------------------------------*/
  55. /*-  SECTION B                                                             -*/
  56. /*-  OPTIONAL FACTS: (DEFAULT VALUES ARE USED FOR FACTS NOT HERE):         -*/
  57. /*--------------------------------------------------------------------------*/
  58.  
  59. /*-  (More documentation upcoming).                                        -*/
  60.  
  61.                                           /*- Defaults to: $ARICOPY.BAT$   -*/
  62. copy_batch_file_name($spec_cpy.BAT$).
  63.  
  64.                                           /*- Defaults to: $ARICOMP.BAT$   -*/
  65. comp_batch_file_name($spec_cmp.BAT$).
  66.  
  67.                                           /*- Defaults to: $ARILINK.BAT$   -*/
  68. link_batch_file_name($spec_lnk.BAT$).
  69.  
  70.                                           /*- Defaults to: $ARILINK.LNK$   -*/
  71. link_response_file_name($spec_.LNK$).
  72.  
  73.                                           /*- Defaults to: $APC$           -*/
  74. arity_compiler($C:\arity51\APC$).
  75.  
  76.                                           /*- Defaults to: $$              -*/
  77. arity_code_path($C:\arity51$).
  78.  
  79.                                           /*- Defaults to: $$              -*/
  80. arity_lib_path($C:\arity51$).
  81.  
  82. /*-  The file name to used for visible declarations needed because of      -*/
  83. /*-  resource files or calls to send_dialog_msg:                           -*/
  84.  
  85.                                          /*  Defaults to CTRLVIS.ARI:       */
  86. ctrl_vis_file_name($ctrlvis.ari$).
  87.  
  88. /*--------------------------------------------------------------------------*/
  89. /*-  SECTION C                                                             -*/
  90. /*-  OPTIONAL FACTS: (ASSUMED NOT TO APPLY, IF NOT SPECIFIED HERE):        -*/
  91. /*--------------------------------------------------------------------------*/
  92.  
  93. /*- LOG FILE                                                               -*/
  94. /*- (Always recommended that you have one.)                                -*/
  95.  
  96. log_file($C:\work\specs\comp.LOG$).
  97.  
  98. /*- MAKE ALL BATCH FILE                                                    -*/
  99. /*- So you can just type 'go' and have your program copied, compiled,      -*/
  100. /*- and linked.                                                            -*/
  101.  
  102. makeall_batch_file_name($C:\work\specs\go.BAT$).
  103.  
  104. /*- LIST OF SEGMENTS                                                       -*/
  105. /*-                                                                        -*/
  106. /*-  The 'segments' fact has a list as its single argument.                -*/
  107. /*-                                                                        -*/
  108. /*-  The list has elements which each are of the form:                     -*/
  109. /*-                                                                        -*/
  110. /*-  segment_name : [$SourceFile1$, $SourceFile2$, ... $SourceFileN$]      -*/
  111. /*-                                                                        -*/
  112. /*-  (Remember that segment_name must be a Prolog atom.)                   -*/
  113. /*-                                                                        -*/
  114. /*-  If you want to segment your program, list each segment name,          -*/
  115. /*-  followed by a colon, then the list of source files that               -*/
  116. /*-  are in that segment.  You don't have to list files that are in        -*/
  117. /*-  the default segment (whose name is code.)                             -*/
  118. /*-                                                                        -*/
  119. /*-  NOTE: Don't use more than one 'segments' fact!                        -*/
  120.  
  121. segments([ %  code : [
  122.            %   $C:\work\specs\SPECS.ARI$    ,
  123.            %   $C:\work\specs\newTRACE.ARI$    ,
  124.            %   $C:\work\specs\BACK.ARI$     ,
  125.            %   $C:\work\specs\STUBS.ARI$
  126.            %    ],
  127.           libseg   : [
  128.                $C:\work\specs\LIB.ARI$      ,
  129.                $C:\work\specs\arity5.ARI$      ,
  130.                $C:\work\specs\FRAME.ARI$    ,
  131.                $C:\work\specs\FILEMOD.ARI$  ,
  132.                $C:\work\specs\NEXT_TOK.ARI$ ,
  133.                $C:\work\specs\spechelp.ARI$
  134.                 ]
  135.          ]).
  136.  
  137. /*-  INTERPRETED SOURCE FILES:                                             -*/
  138. /*-  These are source files your program will consult at runtime.          -*/
  139. /*-  They must be in a different subdirectory from that                    -*/
  140. /*-  specified by output_path.  If they aren't, PREPCOMP.EXE               -*/
  141. /*-  will give an error message and terminate.                             -*/
  142. /*-                                                                        -*/
  143. /*-  (More documentation upcoming).                                        -*/
  144. /*-  NOTE: You can use wildcards (e.g., *.ARI) to specify source files,    -*/
  145. /*-        but it's safer not to.                                          -*/
  146.  
  147. interp_source_files([
  148.                      $c:\work\specs\specs.cfg$
  149.                      ]).
  150.  
  151. /*-  RESOURCE FILES:                                                       -*/
  152. /*-  These are resource files your program will consult at runtime.        -*/
  153. /*-  They have the control definitions for dialog boxes.                   -*/
  154. /*-  They must be in a different subdirectory from that                    -*/
  155. /*-  specified by output_path.  If they aren't, PREPCOMP.EXE               -*/
  156. /*-  will give an error message and terminate.                             -*/
  157. /*-                                                                        -*/
  158. /*-  (More documentation upcoming).                                        -*/
  159. /*-  NOTE: You can use wildcards (e.g., *.ARI) to specify source files,    -*/
  160. /*-        but it's safer not to.                                          -*/
  161. /*
  162. resource_files([$C:SOURCE_DIR\file1.ari$,
  163.                 $C:SOURCE_DIR\file2.ari$
  164.                ]).
  165.  
  166. default_invis_dec_file_name($file.ext$).
  167. */
  168. /*--------------------------------------------------------------------------*/
  169. /*-                        END OF FILE                                     -*/
  170. /*--------------------------------------------------------------------------*/
  171.  
  172.